package com.hermes.biz.manager.user;

import java.sql.SQLException;

import com.hermes.biz.common.model.result.UserResultDO;
import com.hermes.biz.common.model.user.UserDO;

public interface UserOperateManager {

	/**
	 *  
	 * @param user
	 * @return 
	 * @throws SQLException 
	 */
	public boolean insertNewUser(UserDO user) ;
	
	/**
	 * 
	 * @param userId
	 * @return
	 */
	public UserResultDO getSingleUserByUserId(long userId);
	
	/**
	 * 
	 * @param userName
	 * @return
	 */
	public UserResultDO getSingleUserByUserName(String userName);
	
	/*
	 * 
	 */
	public int updateUserMin(UserDO user);
	/*
	 * 
	 */
	public void updateUserPassword(UserDO user);
	/*
	 * 
	 */
	public void updateUser(UserDO user);
	/*
	 * 
	 */
	public boolean updateUserLogo(UserDO user);
}
